package com.groupname.dangerousdelves;

import sofia.graphics.Color;
import sofia.graphics.RectangleShape;
import android.graphics.RectF;

// -------------------------------------------------------------------------
/**
 *  Write a one-sentence summary of your class here.
 *  Follow it with additional details about its purpose, what abstraction
 *  it represents, and how to use it.
 *
 *  @author Chris Fieldman (Chrisf90)
 *  @version Dec 1, 2012
 */
public class ImovableTile
    implements Tile
{
    private RectangleShape shape;

    // ----------------------------------------------------------
    /**
     * Create a new ImovableTile object.
     * @param newLocation
     * @param type
     */
    public ImovableTile(RectF newLocation)
    {
        this.shape = new RectangleShape(newLocation);
        this.shape.setFilled(true);
        this.shape.setColor(Color.black);
    }

    public boolean isMovable()
    {
        return false;
    }

    public RectangleShape getShape()
    {
        return shape;
    }
}
